package IC.lir.decl;
import IC.lir.Visitor;


public class StringDecl extends Decl {
	private final String name;
	private final String value;

	/**
	 * Create a label operand with a given name
	 * @param name the label name
	 */
	public StringDecl(String name, String value) {
		this.name = name;
		this.value = value;
	}

	/**
	 * @return the name of the label
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the string value
	 */
	public String getValue() {
		return value;
	}

	@Override
	public <D, U> U accept(Visitor<D, U> v, D d) {
		return v.visit(this, d);
	}



}
